﻿
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
namespace WinnerCMS.Model
{
    public partial class Role
    {
        public Role()
        {
            Users = new List<User>();
            Rights = new List<Right>();
            Categoryes = new List<Category>();
        }

        public int Id { get; set; }
        public string RoleName { get; set; }
        public string Remark { get; set; }
        public int Rank { get; set; }
        public bool IsAdmin { get; set; }

        public virtual ICollection<User> Users { get; set; }
        public virtual ICollection<Right> Rights { get; set; }
        public virtual ICollection<Category> Categoryes { get; set; }
       
    }
}